<?php

/* * Definidas las Constantes * */
date_default_timezone_set('America/Caracas');
ini_set('zlib.output_compression', 'On');
ini_set('zlib.output_compression_level', '9');
ini_set('session.gc_maxlifetime', 5400);
ini_set('track_errors', 1);
/* * $php_errormsg * */;
define('LIBS', 'libs/');
define('SYSTEM', '');
if ($_SERVER['REMOTE_ADDR'] == '::1' OR $_SERVER['REMOTE_ADDR'] == '127.0.0.1') {
    ini_set('error_reporting', E_ALL);
    ini_set('display_errors', true);
    define('URL', 'http://localhost/admin/');
    define('DB_TYPE', 'mysql');
    define('DB_HOST', 'localhost');
    define('DB_NAME', 'sitioweb');
    define('DB_USER', 'root');
    define('DB_PASS', 'root');
    define('LOGO', 'GOB');
} else {
    ini_set('error_reporting', NULL);
    ini_set('display_errors', FALSE);
    define('URL', 'http://yaracuy.gob.ve/admin/');
    define('DB_TYPE', 'mysql');
    define('DB_HOST', 'localhost');
    define('DB_NAME', 'sitioweb');
    define('DB_USER', 'root');
    define('DB_PASS', 'dbadmin$yara$2010');
    define('LOGO', 'PUBLIC');
}
// The sitewide hashkey, do not change this because its used for passwords!
// This is for other hash keys... Not sure yet
define('HASH_GENERAL_KEY', 'HashGENERAL$Gobernacion$2012$Security');

// This is for database passwords only
define('HASH_PASSWORD_KEY', 'HashPASSWORD$Gobernacion$2012$Security');
